package com.bone.order.service.impl;

import java.util.List;
import java.util.Map;

import com.bone.order.dao.OrdSaleServiceDAO;
import com.bone.order.po.OrdSaleService;
import com.bone.order.service.OrdSaleServiceService;
import com.bone.page.Page;

public class OrdSaleServiceServiceImpl implements OrdSaleServiceService    {

	private OrdSaleServiceDAO ordSaleServiceDAO;
	/**
	 * 数据列表.
	 * @param parameter
	 * @return
	 */
	public Page<OrdSaleService> queryOrdSaleServicePageByParam(Map<String, Object> parameter,
			int pageSize, int page) {
		Page pageConfig = Page.page(pageSize, page);
		return ordSaleServiceDAO.queryOrdSaleServicePageByParam(parameter, pageConfig);
	}
	
	/**
	 * 
	 * @param orderNo
	 * @return
	 */
	public List<OrdSaleService> queryOrdSaleServiceListByOrderNo(Long orderNo){
		return  ordSaleServiceDAO.queryOrdSaleServiceListByOrderNo(orderNo);
	}
	
	/**
	 * 
	 * @param serviceId
	 * @return
	 */
	public  OrdSaleService  queryOrdSaleServiceListById(Long serviceId){
		return  ordSaleServiceDAO.queryOrdSaleServiceListById(serviceId);
	}
	

	 
	public OrdSaleServiceDAO getOrdSaleServiceDAO() {
		return ordSaleServiceDAO;
	}
 
	public void setOrdSaleServiceDAO(OrdSaleServiceDAO ordSaleServiceDAO) {
		this.ordSaleServiceDAO = ordSaleServiceDAO;
	}
	
	 
}
